package com.unisal.java;

public class LuzApagaComando implements Comando {

	Luz light;

	public LuzApagaComando(Luz light) {
		this.light = light;
	}

	@Override
	public void execute() {
		light.off();
	}

	@Override
	public void voltar() {
		light.on();
		
	}

}
